/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include <UI/UI.h>
#include "框架/屏幕.h"
#include "节点/节点.h"
#include "../ui节点面板.h"



class C_表格视口 : public C_Widget {

public:
	C_表格视口(S_UI创建环境& ctx);
	~C_表格视口();

	ui_绘制模板_画预设图形	m_背景绘制;
	ui_绘制模板_表格        m_背景线绘制;
	ui_绘制模板_行文本绘制	m_文本绘制;


	bool		m_是否开启视线旋转物体;
	float32		m_旋转度;
	bool		m_是否未绘制;
	suvec2		m_GPU内存分配维度大小 = {};


	static C_表格视口* g当前操作表格视口;
	//ivec2	m_帧区;

	std::vector<std::vector<std::wstring>> m_绘制文本;
	void f_数据绘制();

};




C_Widget*	f_工作区页面_创建表格视口(S_UI创建环境& ctx);













